﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

namespace gmep
{
    enum class HttpMessageErrorCode
    {
        OverstayedVersion = 30005,
        InUse = 54104,
        NotExist = 54102,
    };

    enum class BuildingUpdateError
    {
        Success,
        NotNewVersion,
        Failed,
    };

    enum class ProjectItemUpdateResult
    {
        Success = 0,    // 成功更新
        NotModified,    // 更新但无修改
        NotNewVersion,  // 无新版本
        Failed,         // 更新失败
        Cancel          // 用户取消
    };
}